package com.rtx.edi.model.apibaseinfo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * api基础信息表
 * </p>
 *
 * @author zcw
 * @since 2023-03-19
 */
@TableName("pl_api")
@ApiModel(value = "PlApi对象", description = "api基础信息表")
public class PlApibaseinfo extends BaseEntity {

    private String companyId;

    private Long applicationId;

    private String apiDomail;

    private String apiRequestTemplate;

    private String apiRequestRequestRootType;

    private String apiResponseTemplate;

    private String remark;
    
    private String apiName;
    
    private String logkey;
    
    private String tableConfig;
    
    private String mainclass;
    
    private String subclass;
    
    private String source;
    
    @TableField(exist = false)
    private String maintable;//主表
    
    @TableField(exist = false)
    private String subtable;//从表
    
    @TableField(exist = false)
    private Long serialruleid;//流水号生成规则
    
    @TableField(exist = false)
    private Long whseidruleid;//仓库号确定规则
    
    @TableField(exist = false)
    private Long updruleid;//更新规则
    
    
	public String getMaintable() {
		return maintable;
	}

	public void setMaintable(String maintable) {
		this.maintable = maintable;
	}

	public String getSubtable() {
		return subtable;
	}

	public void setSubtable(String subtable) {
		this.subtable = subtable;
	}

	public Long getUpdruleid() {
		return updruleid;
	}

	public void setUpdruleid(Long updruleid) {
		this.updruleid = updruleid;
	}

	public Long getWhseidruleid() {
		return whseidruleid;
	}

	public void setWhseidruleid(Long whseidruleid) {
		this.whseidruleid = whseidruleid;
	}

	public Long getSerialruleid() {
		return serialruleid;
	}

	public void setSerialruleid(Long serialruleid) {
		this.serialruleid = serialruleid;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getMainclass() {
		return mainclass;
	}

	public void setMainclass(String mainclass) {
		this.mainclass = mainclass;
	}

	public String getSubclass() {
		return subclass;
	}

	public void setSubclass(String subclass) {
		this.subclass = subclass;
	}

	public String getTableConfig() {
		return tableConfig;
	}

	public void setTableConfig(String tableConfig) {
		this.tableConfig = tableConfig;
	}

	public String getLogkey() {
		return logkey;
	}

	public void setLogkey(String logkey) {
		this.logkey = logkey;
	}

	public String getApiName() {
		return apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public Long getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(Long applicationId) {
		this.applicationId = applicationId;
	}

	public String getApiDomail() {
		return apiDomail;
	}

	public void setApiDomail(String apiDomail) {
		this.apiDomail = apiDomail;
	}

	public String getApiRequestTemplate() {
		return apiRequestTemplate;
	}

	public void setApiRequestTemplate(String apiRequestTemplate) {
		this.apiRequestTemplate = apiRequestTemplate;
	}

	public String getApiRequestRequestRootType() {
		return apiRequestRequestRootType;
	}

	public void setApiRequestRequestRootType(String apiRequestRequestRootType) {
		this.apiRequestRequestRootType = apiRequestRequestRootType;
	}

	public String getApiResponseTemplate() {
		return apiResponseTemplate;
	}

	public void setApiResponseTemplate(String apiResponseTemplate) {
		this.apiResponseTemplate = apiResponseTemplate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
    public String toString() {
        return "PlApibaseinfo{" +
        "companyId=" + companyId +
        ", applicationId=" + applicationId +
        ", apiDomail=" + apiDomail +
        ", apiRequestTemplate=" + apiRequestTemplate +
        ", apiRequestRequestRootType=" + apiRequestRequestRootType +
        ", apiResponseTemplate=" + apiResponseTemplate +
        ", remark=" + remark +
        "}";
    }
}
